<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>   
     <h2>Save</h2>       
     <form action="/demo/Uinfo_save.shtml" method="post">
     	<input type="text" name="name" size="6"/><input type="text" name="txt" size="6"/>
     	<input type="submit"  value="name:txt"/> 
     </form>
     
     <h2>Update</h2>  
     <form action="/demo/Uinfo_esave.shtml" method="post">
     	<input type="text" name="kid" size="6"/><input type="text" name="name" size="6"/>
     	<input type="submit"  value="id:name"/> 
     </form>
     
     <h2>Get</h2>  
     <form action="/demo/Uinfo_view.shtml" method="post">
     	<input type="text" name="kid"/>
     	<input type="submit"  value="get(id)"/> 
     </form>
     <form action="/demo/Uinfo_viewByKey.shtml" method="post">
     	<input type="text" name="keywords"/>
     	<input type="submit"  value="get(key)"/> 
     </form>
     
     <h2>Delete</h2>  
     <form action="/demo/Uinfo_delete.shtml" method="post">
     	<input type="text" name="kid"/>
     	<input type="submit" value="del(kid)"/> 
     </form>
     <form action="/demo/Uinfo_deleteAllKids.shtml" method="post">
     	<input type="text" name="uname" size="6"/><input type="text" name="uname2" size="6"/>
     	<input type="submit" value="delAll(kid[List])"/> 
     </form>    
     
     <br/><br/>MSG<br/>
     (属性)<s:property value="name"/>, (oModel.属性)<s:property value="oModel.name"/>
  </body>
</html>
